import axios from '../request'


export const login = (username, password) => axios.post("/api/pub/v1/user/login", {
    "name": username,
    "pwd": password

})

export const register = (username, password) => axios.post("/api/pub/v1/user/register", {
    "name": username,
    "pwd": password

})